package com.ruoyi.common.core.domain;

import java.util.List;

/**
 * @author WQJ
 */
public class GloryDataDTO {

    /**
     * 对应荣誉数据的ID
     */
    private Long value;

    /**
     * 对应荣誉标签
     */
    private String label;

    /**
     * 孩子，递归引用，需要特别注意
     */
    private List<GloryDataDTO> children;

    public GloryDataDTO() {
    }

    public GloryDataDTO(Long value, String label, List<GloryDataDTO> children) {
        this.value = value;
        this.label = label;
        this.children = children;
    }

    @Override
    public String toString() {
        return "GloryDataDTO{" +
                "value=" + value +
                ", label='" + label + '\'' +
                ", chindren=" + children +
                '}';
    }

    public Long getValue() {
        return value;
    }

    public void setValue(Long value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public List<GloryDataDTO> getChildren() {
        return children;
    }

    public void setChildren(List<GloryDataDTO> children) {
        this.children = children;
    }
}
